package com.beta.cust.bind.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@RefreshScope
@Data
public class CfgSelfRefreshBean {

    @Value("${crm.sms.url}")
    private String crmSmsUrl;

    @Value("${crm.sms.svc.id:9900200001}")
    private String crmSmsSvcId;

    @Value("${crm.sms.cms.id:20080}")
    private String crmSmsCmsId;

    @Value("${crm.sms.version:}")
    private String crmSmsVersion;

    /**
     * 业务编码(短信平台系统分配)
     */
    @Value("${crm.sms.bsn.no:20080}")
    private String crmSmsBsnNo;

    /**
     * 请求方机构编码(短信平台系统分配)
     */
    @Value("${crm.sms.req.brc.no:20080}")
    private String crmSmsReqBrcNo;

    /**
     * 请求本服务的授权接入码 (短信平台系统分配)
     */
    @Value("${crm.sms.auth.no:20080}")
    private String crmSmsAuthNo;

    @Value("${crm.detail.url:http://10.1.51.69:7001/CSMS/}")
    private String crmDetailUrl;

    @Value("${crm.detail.svc.id:9900200001}")
    private String crmDetailSvcId;

    @Value("${crm.detail.cms.id:20080}")
    private String crmDetailCmsId;

    @Value("${crm.detail.version:}")
    private String crmDetailVersion;

    @Value("${crm.cust.null.tips:}")
    private String crmCustNullTips;
}
